public class Demo03 {
    public static void main(String[] args) {
        int a = 5;
        int b = 10;
        int scr = a > b ? a : b;
        System.out.println(scr);
        int c = 20;
        int sre = c > scr ? c : scr;
        System.out.println(sre);


    }
}
